import { request } from '@/utils/request';
import CRUD from '@/utils/request/CRUD';

// CRUD 操作
export const processUserGroupCRUD = CRUD('/bpm/user-group');

// BPM 流程表达式 VO
export type UserGroupVO = {
  id: number
  name: string
  description: string
  userIds: number[]
  status: number
  remark: string
  createTime: string
}

// 获取精简用户列表
export function getUserGroupSimpleList() {
  return request.get({
    url: '/bpm/user-group/simple-list',
  });
}


